﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RateDetail.aspx.cs" validateRequest="false"  Inherits="WMS6.Web.Billing.RateDetail" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>RateDetail</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function() {
            initDetailPage();
        }
        function txtCommand(temp, temp2, temp3) {

            
            var obj = document.getElementById('txt' + temp + temp2 + '0' + temp3);//获取当前值
            if (dataVer._Is123(obj, 'lblMsg')) //验证 输入的是否是数字
            {
                if (temp2 == "From") {
                    if (obj.value.length > 0) {
                        document.getElementById('lbl' + temp + '0' + temp3).innerText = "+";
                        document.getElementById('txt' + temp + 'To' + '0' + temp3).disabled = false;
                        document.getElementById('txt' + temp + 'To' + '0' + temp3).style.backgroundColor = 'White';
                        document.getElementById('txt' + temp + 'Rate' + '0' + temp3).disabled = false;
                        document.getElementById('txt' + temp + 'Rate' + '0' + temp3).style.backgroundColor = 'White';                        
                    }
                }
                else {
                    if (parseInt(obj.value) > parseInt(document.getElementById('txt' + temp + 'From0' + temp3).value)) //判断起始值是否小于结束值
                    {

                        var number = parseInt(temp3) + 1;
                        document.getElementById('lbl' + temp + '0' + temp3).innerText = "-";
                        document.getElementById('lbl' + temp + '0' + number).innerText = "+";
                        document.getElementById('txt' + temp + 'From' + '0' + number).disabled = false;
                        document.getElementById('txt' + temp + 'From' + '0' + number).style.backgroundColor = 'White';
                        document.getElementById('txt' + temp + 'From' + '0' + number).value = obj.value;

                        document.getElementById('txt' + temp + 'To' + '0' + number).disabled = false;
                        document.getElementById('txt' + temp + 'To' + '0' + number).style.backgroundColor = 'White';

                        document.getElementById('txt' + temp + 'Rate' + '0' + number).disabled = false;
                        document.getElementById('txt' + temp + 'Rate' + '0' + number).style.backgroundColor = 'White';
                    }
                    else {
                        document.getElementById('lblMsg').innerText = '<%=GetGlobalMsgResource("F9150_012") %>';
                        obj.focus();
                        return;
                    }
                }
            }
            else {

                for (var i = temp3; 11 > i; i++) {
                    document.getElementById('lbl' + temp + '0' + i).innerText = "";
                    document.getElementById('txt' + temp + 'From' + '0' + i).value = '';
                    document.getElementById('txt' + temp + 'From' + '0' + i).disabled = true;
                    document.getElementById('txt' + temp + 'To' + '0' + i).value = '';
                    document.getElementById('txt' + temp + 'To' + '0' + i).disabled = true;
                    document.getElementById('txt' + temp + 'Rate' + '0' + i).value = '';
                    document.getElementById('txt' + temp + 'Rate' + '0' + i).disabled = true;
                }
                var number = parseInt(temp3) - 1;
                document.getElementById('lbl' + temp + '0' + temp3).innerText = "+";
                document.getElementById('txt' + temp + 'From' + '0' + temp3).disabled = false;
                document.getElementById('txt' + temp + 'From' + '0' + temp3).style.backgroundColor = 'White';              
                if (number > 0) {
                    document.getElementById('txt' + temp + 'From' + '0' + temp3).value = document.getElementById('txt' + temp + 'To0' + number).value;
                }
                else 
                {
                    document.getElementById('txt' + temp + 'From' + '0' + temp3).value = 0;
                }
                document.getElementById('txt' + temp + 'To' + '0' + temp3).disabled = false;
                document.getElementById('txt' + temp + 'To' + '0' + temp3).style.backgroundColor = 'White';

                document.getElementById('txt' + temp + 'Rate' + '0' + temp3).disabled = false;
                document.getElementById('txt' + temp + 'Rate' + '0' + temp3).style.backgroundColor = 'White';
            }
        }
        //弹出窗口选择货主
        function selectGeneralLedger() {
            var rtnValue = popModalWindow('../Billing/GeneralLedgerQuery.aspx?action=txtGeneralLedgerID', 'dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if (rtnValue != null && rtnValue.toString() != "") {
                document.getElementById("txtGeneralLedgerID").focus();
                document.getElementById("txtGeneralLedgerID").value = rtnValue;
            }
        }
    </script>

</head>
<body>
    <form id="F9053" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblAreaDetail" runat="server" CssClass="label_header" 
                            Text="费率明细" meta:resourcekey="lblAreaDetail"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnCancel" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCancel%>" AccessKey="c"
                            OnClick="btnCancel_Click" Enabled="False" 
                             />
                    </td>
                    <td>
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" AccessKey="s"
                            OnClick="btnSave_Click" Enabled="False" 
                             />
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur" onclick="setTab('one',1,2)"
                id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" 
                    meta:resourcekey="one1">基本信息</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1">
                </div>
            </div>
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL2">
                </div>
            </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,2);"
                id="divM2">
                <asp:Label ID="one2" CssClass="navigationlabel" runat="server" 
                    meta:resourcekey="one2">用户自定义</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR2">
                </div>
            </div>
        </div>
        <div id="div_content">
            <div id="con_one_1" style="display: block;">
                <table width="720" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblRateType" runat="server" CssClass="label" Text="费用类型" 
                                meta:resourcekey="lblRateType"></asp:Label><span
                                class="must_input">*</span>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="说明" 
                                meta:resourcekey="lblDescr"></asp:Label><span
                                class="must_input">*</span>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblDistMatchedMode" runat="server" CssClass="label" 
                                Text="区间匹配方式" meta:resourcekey="lblDistMatchedMode"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblCarryMode" runat="server" CssClass="label" Text="进位方式" 
                                meta:resourcekey="lblCarryMode"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:DropDownList ID="ddlRateType" runat="server" CssClass="mediumselectbox" 
                                meta:resourcekey="ddlRateType">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:TextBox ID="txtDescr" runat="server" CssClass="textbox" MaxLength="50" 
                                meta:resourcekey="txtDescr"></asp:TextBox>
                        </td>
                        <td>
                             <asp:DropDownList ID="ddlDistMatchedMode" runat="server" 
                                 CssClass="mediumselectbox" meta:resourcekey="ddlDistMatchedMode">
                            </asp:DropDownList>
                        </td>
                        <td>
                          <asp:DropDownList ID="ddlCarryMode" runat="server" CssClass="mediumselectbox" 
                                meta:resourcekey="ddlCarryMode">
                            </asp:DropDownList>                          
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblChargeMode" runat="server" CssClass="label" Text="计费方式" 
                                meta:resourcekey="lblChargeMode"></asp:Label><span
                                class="must_input">*</span>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblChargeUnit" runat="server" CssClass="label" Text="计费单位" 
                                meta:resourcekey="lblChargeUnit"></asp:Label><span
                                class="must_input">*</span>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblChargePerUnit" runat="server" CssClass="label" Text="费用每单位" 
                                meta:resourcekey="lblChargePerUnit"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblChargeInvocation" runat="server" CssClass="label" 
                                Text="费用已调用" meta:resourcekey="lblChargeInvocation"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:DropDownList ID="ddlChargeMode" runat="server" CssClass="mediumselectbox" 
                                ontextchanged="ddlChargeMode_TextChanged" AutoPostBack="True" 
                                meta:resourcekey="ddlChargeMode" >
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlChargeUnit" runat="server" CssClass="mediumselectbox" 
                                meta:resourcekey="ddlChargeUnit">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <asp:TextBox ID="txtChargePerUnit" runat="server" CssClass="textbox" 
                                MaxLength="10" Text="1" meta:resourcekey="txtChargePerUnit"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtChargeInvocation" runat="server" CssClass="textbox" 
                                MaxLength="10" meta:resourcekey="txtChargeInvocation"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblTaxGroupID" runat="server" CssClass="label" Text="税组" 
                                meta:resourcekey="lblTaxGroupID"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblGeneralLedgerID" runat="server" CssClass="label" Text="总账分配" 
                                meta:resourcekey="lblGeneralLedgerID"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblMinCharge" runat="server" CssClass="label" Text="最低收费" 
                                meta:resourcekey="lblMinCharge"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblMaxCharge" runat="server" CssClass="label" Text="最高收费" 
                                meta:resourcekey="lblMaxCharge"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtTaxGroupID" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtTaxGroupID"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtGeneralLedgerID" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtGeneralLedgerID"></asp:TextBox><img src="../Images/icon_find.gif" id="imgOwnerID" runat="server" alt="select one item" class="img" onclick="selectGeneralLedger();"/>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMinCharge" runat="server" CssClass="textbox" MaxLength="15" 
                                meta:resourcekey="txtMinCharge"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMaxCharge" runat="server" CssClass="textbox" MaxLength="15" 
                                meta:resourcekey="txtMaxCharge"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblFixedRate" runat="server" CssClass="label" Text="费率" 
                                meta:resourcekey="lblFixedRate"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtFixedRate" runat="server" CssClass="textbox" MaxLength="15" 
                                meta:resourcekey="txtFixedRate"></asp:TextBox>
                        </td>
                        <td>
                            <asp:CheckBox ID="chkIsActive" runat="server" CssClass="checkbox" Text="启用" 
                                Checked="True" meta:resourcekey="chkIsActive" />
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblCostRate" runat="server" CssClass="label" Text="成本费率" 
                                meta:resourcekey="lblCostRate"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblCostingUnit" runat="server" CssClass="label" Text="成本计费单位" 
                                meta:resourcekey="lblCostingUnit"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblCostPerUnit" runat="server" CssClass="label" Text="成本费用每单位" 
                                meta:resourcekey="lblCostPerUnit"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblCostInvocation" runat="server" CssClass="label" Text="成本已调用" 
                                meta:resourcekey="lblCostInvocation"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtCostRate" runat="server" CssClass="textbox" MaxLength="15" 
                                meta:resourcekey="txtCostRate"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCostingUnit" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtCostingUnit"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCostPerUnit" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtCostPerUnit"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCostInvocation" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtCostInvocation"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180">
                            <asp:Label ID="lblEADiscount" runat="server" CssClass="label" Text="EA折扣率" 
                                meta:resourcekey="lblEADiscount"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblIPDiscount" runat="server" CssClass="label" Text="IP折扣率" 
                                meta:resourcekey="lblIPDiscount"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblCSDiscount" runat="server" CssClass="label" Text="CS折扣率" 
                                meta:resourcekey="lblCSDiscount"></asp:Label>
                        </td>
                        <td width="180">
                            <asp:Label ID="lblPLDiscount" runat="server" CssClass="label" Text="PL折扣率" 
                                meta:resourcekey="lblPLDiscount"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtEADiscount" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtEADiscount"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtIPDiscount" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtIPDiscount"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCSDiscount" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtCSDiscount"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="txtPLDiscount" runat="server" CssClass="textbox" 
                                MaxLength="15" meta:resourcekey="txtPLDiscount"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <table width="620" style="display: block; margin-left: 10px; margin-top: 10px; " >
                    <tr>
                        <td width="110" colspan="2">
                            <asp:Label ID="Label1" runat="server" CssClass="label" Text="存储时间分级" 
                                meta:resourcekey="Label1"></asp:Label>
                        </td>
                        <td width="70">
                        </td>
                        <td width="30">
                        </td>
                        <td width="70">
                        </td>
                        <td width="50">
                        </td>
                        <td width="110" colspan="2">
                            <asp:Label ID="Label2" runat="server" CssClass="label" Text="计费单位分级" 
                                meta:resourcekey="Label2"></asp:Label>
                        </td>
                        <td width="70">
                        </td>
                        <td width="30">
                        </td>
                        <td width="70">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblFrom" runat="server" CssClass="label" Text="从" 
                                meta:resourcekey="lblFrom"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:Label ID="lblTo" runat="server" CssClass="label" Text="至" 
                                meta:resourcekey="lblTo"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:Label ID="lblRate" runat="server" CssClass="label" Text="费率" 
                                meta:resourcekey="lblRate"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:Label ID="lblFrom1" runat="server" CssClass="label" Text="从" 
                                meta:resourcekey="lblFrom1"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:Label ID="lblTo1" runat="server" CssClass="label" Text="至" 
                                meta:resourcekey="lblTo1"></asp:Label>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:Label ID="lblPNN" runat="server" CssClass="label" Text="费率" 
                                meta:resourcekey="lblPNN"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom01" Width="70px" runat="server" 
                                onchange="txtCommand('Stc','From',1);" Enabled="False" 
                                meta:resourcekey="txtStcFrom01" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc01" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc01"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo01" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','To',1);" meta:resourcekey="txtStcTo01"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate01" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate01" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom01" Width="70px" runat="server" 
                                onchange="txtCommand('Cuc','From',1);" Enabled="False" 
                                meta:resourcekey="txtCucFrom01" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc01" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc01"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo01" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',1);" meta:resourcekey="txtCucTo01"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate01" runat="server" Width="70px" Enabled="False" 
                                meta:resourcekey="txtCucRate01" ></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom02" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',2);" meta:resourcekey="txtStcFrom02"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc02" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc02"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo02" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','To',2);" meta:resourcekey="txtStcTo02" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate02" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate02" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom02" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',2);" meta:resourcekey="txtCucFrom02"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc02" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc02"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo02" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',2);" meta:resourcekey="txtCucTo02"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate02" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate02"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom03" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',3);" 
                                meta:resourcekey="txtStcFrom03" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc03" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc03"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo03" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','To',3);" meta:resourcekey="txtStcTo03" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate03" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate03"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom03" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',3);" meta:resourcekey="txtCucFrom03"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc03" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc03"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo03" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',3);" meta:resourcekey="txtCucTo03"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate03" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate03"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom04" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',4);" 
                                meta:resourcekey="txtStcFrom04"  ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc04" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc04"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo04" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','To',4);" meta:resourcekey="txtStcTo04" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate04" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate04"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom04" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',4);" 
                                meta:resourcekey="txtCucFrom04" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc04" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc04"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo04" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',4);" meta:resourcekey="txtCucTo04" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate04" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate04"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom05" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',5);" 
                                meta:resourcekey="txtStcFrom05" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc05" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc05"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo05" Width="70px" runat="server" Enabled="False"  
                                onchange="txtCommand('Stc','To',5);" meta:resourcekey="txtStcTo05" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate05" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate05"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom05" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',5);" meta:resourcekey="txtCucFrom05"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc05" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc05"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo05" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',5);" meta:resourcekey="txtCucTo05" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate05" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate05"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom06" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',6);" 
                                meta:resourcekey="txtStcFrom06" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc06" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc06"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo06" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','To',6);" meta:resourcekey="txtStcTo06"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate06" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate06"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom06" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',6);" 
                                meta:resourcekey="txtCucFrom06" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc06" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc06"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo06" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',6);" meta:resourcekey="txtCucTo06" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate06" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate06"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom07" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',7);" 
                                meta:resourcekey="txtStcFrom07" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc07" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc07"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo07" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','To',7);" meta:resourcekey="txtStcTo07" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate07" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate07" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom07" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',7);" 
                                meta:resourcekey="txtCucFrom07"  ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc07" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc07"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo07" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',7);" meta:resourcekey="txtCucTo07" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate07" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate07"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom08" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',8);" 
                                meta:resourcekey="txtStcFrom08" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc08" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc08"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo08" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','To',8);" meta:resourcekey="txtStcTo08" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate08" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate08" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom08" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',8);" meta:resourcekey="txtCucFrom08"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc08" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc08"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo08" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',8);" meta:resourcekey="txtCucTo08"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate08" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate08"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom09" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',9);" 
                                meta:resourcekey="txtStcFrom09" ></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc09" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc09"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo09" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','To',9);" meta:resourcekey="txtStcTo09" ></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate09" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate09"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom09" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',9);" meta:resourcekey="txtCucFrom09"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc09" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc09"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo09" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','To',9);" meta:resourcekey="txtCucTo09"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate09" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate09"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtStcFrom010" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Stc','From',10);" 
                                meta:resourcekey="txtStcFrom010"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblStc010" runat="server" CssClass="label" 
                                meta:resourcekey="lblStc010"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcTo010" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcTo010"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStcRate010" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtStcRate010"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucFrom010" Width="70px" runat="server" Enabled="False" 
                                onchange="txtCommand('Cuc','From',10);" 
                                meta:resourcekey="txtCucFrom010"></asp:TextBox>
                        </td>
                        <td align="center">
                            <asp:Label ID="lblCuc010" runat="server" CssClass="label" 
                                meta:resourcekey="lblCuc010"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucTo010" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucTo010"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCucRate010" Width="70px" runat="server" Enabled="False" 
                                meta:resourcekey="txtCucRate010"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="con_one_2" style="display: none;">
                <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf1" runat="server" CssClass="label" Text="自定义字段01" 
                                meta:resourcekey="lblUdf1"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf6" runat="server" CssClass="label" Text="自定义字段06" 
                                meta:resourcekey="lblUdf6"></asp:Label>
                        </td>
                        <td width="180px">
                        </td>
                        <td width="180px">
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf1" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf1"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf6" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf6"></asp:TextBox>
                        </td>
                        <td width="180px">
                        </td>
                        <td width="180px">
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf2" runat="server" CssClass="label" Text="自定义字段02" 
                                meta:resourcekey="lblUdf2"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf7" runat="server" CssClass="label" Text="自定义字段07" 
                                meta:resourcekey="lblUdf7"></asp:Label>
                        </td>
                        <td width="180px">
                        <asp:Label ID="lblRemark" runat="server" CssClass="label" Text="自定义字段07" 
                                meta:resourcekey="lblRemark"></asp:Label>
                        </td>
                        <td width="180px">
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf2"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf7" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf7"></asp:TextBox>
                        </td>
                        <td width="360px" colspan="2" rowspan="3">
                            <asp:TextBox ID="txtRemark" runat="server" CssClass="largetextarea" 
                                TextMode="MultiLine" meta:resourcekey="txtRemark"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf3" runat="server" CssClass="label" Text="自定义字段03" 
                                meta:resourcekey="lblUdf3"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf8" runat="server" CssClass="label" Text="自定义字段08" 
                                meta:resourcekey="lblUdf8"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf3" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf3"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf8" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf8"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf04" runat="server" CssClass="label" Text="自定义字段04" 
                                meta:resourcekey="lblUdf04"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf09" runat="server" CssClass="label" Text="自定义字段09" 
                                meta:resourcekey="lblUdf09"></asp:Label>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf4" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf4"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf9" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf9"></asp:TextBox>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblUdf5" runat="server" CssClass="label" Text="自定义字段05" 
                                meta:resourcekey="lblUdf5"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblUdf10" runat="server" CssClass="label" Text="自定义字段10" 
                                meta:resourcekey="lblUdf10"></asp:Label>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf5" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf5"></asp:TextBox>
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtUdf10" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtUdf10"></asp:TextBox>
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                        <td width="180px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr style="height: 10px;">
                        <td colspan="4">
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <input type="hidden" id="hdnFrom" runat="server" />
    <input type="hidden" id="hdnLineID" runat="server" />
    <input type="hidden" id="hdnRateID" runat="server" />
    <input type="hidden" id="hdnFlag" runat="server" />
    </form>
</body>
</html>
